package title;

import java.util.Scanner;

/**
 * @author 111
 * @version 1.0
 * @date 2025/4/14 19:56
 * @description
 */
public class Test02 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.print("请输入qq号码：");
        String qq = input.next();

        System.out.print("这个qq号是否正确：");
        if(qq.matches("[1-9][0-9]{4,11}+")){
            System.out.println(true);
        }else{
            System.out.println(false);
        }
        input.close();
    }
}